FROM anolis-registry.cn-zhangjiakou.cr.aliyuncs.com/openanolis/node:16.17.1-nslt-8.6
ENV TZ=Asia/Shanghai
LABEL author="xshura"
WORKDIR /app
COPY package*.json ./
RUN npm install --registry=https://registry.npmmirror.com/
COPY . .
EXPOSE 8080
CMD ["npm", "run", "serve"]